const {
    resolvePath,
    baseConfig
} =require('./webpack.base.conf')
const { merge } = require('webpack-merge')
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin') // 打包压缩css

module.exports = merge(baseConfig,{
    mode:'production', 
    optimization: {
        minimizer: [
          new CssMinimizerPlugin(),
        ],
      },
})